package marek.barak.interfaces;
import marek.barak.classes.*;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.List;

public interface UsersDAO {
	public User getCurentUser()throws IndexOutOfBoundsException, IOException, ClassNotFoundException;
	public void setCurentUser(User u) throws FileNotFoundException, IOException;
	public List<User> getAllUsers();
	public void addUser(User u)throws IOException;
	public void removeUser(User u);
}
